package com.stormrage.entity.rep;

import java.io.Serializable;

/**
 * @author www.stormragetech.com
 * @date 2016年4月2日
 * @version 1.0.0
 */
public class ErrorRep implements Serializable {

	// ------------------------------- Fields -------------------------------

	private static final long serialVersionUID = -5239535873800078749L;

	// ------------------------------- Fields -------------------------------

	private Boolean err;

	private String msg;

	// ------------------------------- Fields -------------------------------

	public ErrorRep() {
	}

	// ------------------------------- Fields -------------------------------

	public Boolean getErr() {
		return err;
	}

	public void setErr(Boolean err) {
		this.err = err;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

	// ------------------------------- Fields -------------------------------

	public static ErrorRep instance(Boolean err, String msg) {
		ErrorRep entity = new ErrorRep();
		entity.setErr(err);
		entity.setMsg(msg);
		return entity;
	}

}
